package com.service.business.otc.constants;

import lombok.Getter;

@Getter
public enum OtcOrderResultEnum {
    ORDER_EXISTS(2001,"有卖单已存在"),
    STORE_NOT_ENOUGH(2002,"钱包余额不足"),
    BUY_STORE_NOT_ENOUGH(2003,"买家钱包支付余额不足"),
    TRADE_AMOUNT_GT_REMAIN(2004,"买（卖）数量大于订单卖出（买入）剩余量");
    int code;
    String desc;
    OtcOrderResultEnum(int code, String desc){
        this.code = code;
        this.desc = desc;
    }
}
